﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace SuperQuiz.Model
{
    public class QuizCategory : BindableBase
    {
        private string _UniqueId;
        public string UniqueId
        {
            get { return this._UniqueId; }
            set { this.SetProperty(ref this._UniqueId, value); }
        }

        private string _Name;
        public string Name
        {
            get { return this._Name; }
            set { this.SetProperty(ref this._Name, value); }
        }

        private string _ImageUri;
        public string ImageUri
        {
            get { return this._ImageUri; }
            set { this.SetProperty(ref this._ImageUri, value); }
        }

        private ObservableCollection<Quiz> _Quizzes;
        [IgnoreDataMember]
        public ObservableCollection<Quiz> Quizzes
        {
            get { return this._Quizzes; }
            set { this.SetProperty(ref this._Quizzes, value); }
        }
    }
}
